#ifndef INTERFACEWIN_H
#define INTERFACEWIN_H

#include <QWidget>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QLabel>
#include <QPushButton>
#include <kdialog.h>

class InterfaceWin : public QWidget
{
    Q_OBJECT
public:
    explicit InterfaceWin(QWidget *parent = nullptr);

    void setQRCode(QString codeInfo = "");
    void setOnConnection(bool isConnection);

private:
    //初始化界面
    void initWidget();

private:
    QLabel *m_qrCodeLabel = nullptr;
    QPixmap m_pixmap;
    QLabel *m_illustrate = nullptr;
    kdk::KDialog *m_downAppWin = nullptr;
};

#endif // INTERFACEWIN_H
